import _http from '@/utils/http'

export default {
    shopListAll(params, loading, headers) {
        return _http('post', {
            url: '/ums/manage/shop/listAll',
            apiName: '所有商户下拉',
        }, params, loading, headers)
    },
    goodsInfoAll(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/goodsInfo/list/all',
            apiName: '所有商品下拉',
        }, params, loading, headers)
    },
    goodsInfoDetail(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/goodsInfo/detail',
            apiName: '商品详情',
        }, params, loading, headers)
    },
    channelList(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/channel/list',
            apiName: '上游平台',
        }, params, loading, headers)
    },
    shopLimitBindChannelList(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/shop-limit/bind-channel/list',
            apiName: '绑定渠道列表',
        }, params, loading, headers)
    },
    shopLimitBindChannelAdd(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/shop-limit/bind-channel/add',
            apiName: '绑定渠道新增',
        }, params, loading, headers)
    },
    shopLimitBindChannelDelete(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/shop-limit/bind-channel/delete',
            apiName: '绑定渠道删除',
        }, params, loading, headers)
    },
}
